<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>系统管理员</title>
        <link rel="stylesheet" href="__PUBLIC__/Leader/css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Leader/css/index.css" />
        <style type="text/css">
            .order-list a {
                position: relative;
            }
            .order-list span {
                float: right;
                margin-right: 20px;
            }
        </style>
    </head>
    <body>
        <include file="Index/head"/>
        <div class="wrapper main-wrapper wrapper-content ">
           <div class="page-menubar">
                <!--<div class="menu-header">微信管理</div>-->
                <ul class="order-list">
                    <li>
                        <a href="{:U('Wx/wx_menu/wid/1')}"><img src="__PUBLIC__/images/ic-11.png" alt="" class="com-icon">自定义菜单</a>
                    </li>
                    <li>
                        <a href="{:U('Wx/huifu')}"><img src="__PUBLIC__/images/ic-12.png" alt="" class="com-icon">关注时回复</a>
                    </li>
                    <li class="active">
                        <a href="{:U('Wx/zdhf')}"><img src="__PUBLIC__/images/ic-13.png" alt="" class="com-icon">自动回复</a>
                    </li>
                </ul>
            </div>
            <div class="page-content" style="display: block;">
                <!--内容标题-->
                <div class="page-heading" style="position:relative;">
                    <h2>管理员列表</h2>
                    <a class="btn btn-primary" href="{:U('Wx/zdhfadd')}"  style="position:absolute;right: 0;top: 10px;">添加关键字</a>
                </div>
                <div class="panel panel-default" style="margin-top: 20px;">
                    <div class="panel-body">
                        <table class="table table-hover table-responsive">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th width="100">关键字</th>
                                    <th>回复内容</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            <volist name="zdhf" id="vo">
                                <tr>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.keyword}</td>
                                    <td>{$vo.info}</td>
                                    <Td>
                                        <a href="__CONTROLLER__/zdhfxg/id/{$vo.id}"><i class="glyphicon glyphicon-pencil"></i></a>
                                        <a onclick="return confirm('正在删除关键字，请确认')" href="__CONTROLLER__/zdhfdel/id/{$vo.id}"><i class="glyphicon glyphicon-remove-sign"></i></a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </body>
    <script src="__PUBLIC__/Leader/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Leader/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</html>